import 'package:json_annotation/json_annotation.dart';

part 'bt_broadcaster.g.dart';

@JsonSerializable()
class BtBroadcaster {
  final String userId;
  final String nickname;
  final String avatar;
  final int? gender;
  final int? age;
  final String? country;
  final String? status;
  final int? callCoins;
  final String? unit;
  final List<String>? videoMapPaths;
  final int? followNum;
  final bool? isFriend;
  final bool? isMultiple;
  final List<String>? applicableTags;
  final String? about;

  const BtBroadcaster({
    required this.userId,
    required this.nickname,
    required this.avatar,
    required this.gender,
    required this.age,
    required this.country,
    required this.status,
    required this.callCoins,
    required this.unit,
    required this.videoMapPaths,
    required this.followNum,
    required this.isFriend,
    required this.isMultiple,
    required this.applicableTags,
    required this.about,
  });

  factory BtBroadcaster.fromJson(Map<String, dynamic> json) => _$BtBroadcasterFromJson(json);

  Map<String, dynamic> toJson() => _$BtBroadcasterToJson(this);
}
